import request from '@/utils/request'

// 预制券
export function createCouponPreJob(params) {
  return request({
    url: '/couponAdmin/coupon/preCreateJob',
    method: 'post',
    params: params
  })
}
// 预制卡
export function createCardPreJob(params) {
  return request({
    url: '/couponAdmin/card/preCreateJob',
    method: 'post',
    params: params
  })
}

// 记录
export function preCreateHistory(params) {
  return request({
    url: '/couponAdmin/coupon/preCreateHistory',
    method: 'get',
    params: params
  })
}
